package org.bee.enums;

import org.bee.annotation.EnumsDict;

/**
 * 页面元素类型
 */
@EnumsDict(value = "elementType", desc = "元素类型")
public enum ElementType implements IEnum{
    MENU("0", "菜单"),

    BUTTON("1", "按钮");

    private final String code;
    private final String desc;

    ElementType(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
